import { observable, action } from 'mobx';

const state = observable({
  loadings: [],
});

const startLonding = action(() => {
  const stop = () => {};
  return stop;
});

export const loadingService = {
  state,
  startLoading: startLonding,
};
